package com.hxzy.projectssmplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hxzy.projectssmplus.dto.RentApartmentDTO;
import com.hxzy.projectssmplus.entity.RentApartment;
import com.hxzy.projectssmplus.vo.RentApartmentVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface RentApartmentMapper extends BaseMapper<RentApartment> {
    List<RentApartmentVO> rentSearch(@Param("ipage") IPage iPage, @Param("rentApartmentDTO") RentApartmentDTO rentApartmentDTO);
}